package com.zsrt.scott;


import com.zsrt.scott.entity.Student;

public class Client {
	
	
	public static void main(String[] args) {
		
		//加载配置文件
		ScottClassPathXmlApplicationContext ioc = new ScottClassPathXmlApplicationContext("applicationContext.xml");
		
		
		Student student  = (Student)ioc.getBean("yanminghao");
		
		System.out.println(student);
	}

}
